﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace TomVanGaever.BCS.Parser
{
    public partial class BCSParserCreatorControl : BCSUserControl
    {

        public BCSParserCreatorControl()
        {
            InitializeComponent();
        }

		public bool IsCreateCapabilitiesActivitated()
		{ 
            return chcEnable.Checked;
        }

		public override string TitleText
		{
			get
			{
				label2.Visible = false;
				return label2.Text;
			}
		} 

        private void chcEnable_CheckedChanged(object sender, EventArgs e)
        {
			this.pnl_holder.Enabled = this.IsCreateCapabilitiesActivitated();
        }

        public override string GetStatusString()
        {
            string result = "Generate creator Method? \t\t\t\t {0}";
			return string.Format(result, IsCreateCapabilitiesActivitated());
        }

    }
}
